package com.project.grenting.service.customer;

import com.project.grenting.pojo.Customer;

import java.util.List;

public interface CustomerService {
/*

    //根据loginCode获取用户信息
    User getUserByLoginCode(String loginCode) ;
*/

    //获取所有用户
    List<Customer> getAllCustomers() ;

    //根据用户id获取用户信息
    Customer getCustomerById(int id) ;

    //添加用户
    int addCustomer(Customer customer) ;
}
